WPF StringFormat={0:C} showing as dollars

Posted by Coesy on Stack Overflow See other posts from Stack Overflow or by Coesy
Published on 2010-05-04T10:52:28Z Indexed on 2010/05/04 11:08 UTC
Read the original article Hit count: 496

Why does this line of code

<TextBlock Text="{Binding Net, StringFormat=c}"/>

Output the result as $xx.xx when all my regional settings are set to UK. I expect it to output it as £xx.xx. Any ideas? I have tried different variations of the stringformat including StringFormat={}{0:C} but still get the same result.

Thanks for looking.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about stringformat